package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_stk_apply")
@ApiModel(value="t_stk_apply对象", description="其他出库申请表")
public class StkApply extends Model<StkApply> {

    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "FID")
    @ApiModelProperty(name = "FID" , value = "单据内码")
    private Long FID;

    @TableField(value = "FBILLNO")
    @ApiModelProperty(name = "BillNo" , value = "单据编号")
    private String FBILLNO;


    @TableField(value = "FDATE")
    @ApiModelProperty(name = "FDATE" , value = "单据日期")
    private Date FDATE;


    @TableField(value = "FAPPLYTYPE")
    @ApiModelProperty(name = "FAPPLYTYPE" , value = "申请类型")
    private String FAPPLYTYPE;

    @TableField(value = "FSTOCKUSER")
    @ApiModelProperty(name = "FSTOCKUSER" , value = "仓管员")
    private String FSTOCKUSER;

    @TableField(value = "FNOTE")
    @ApiModelProperty(name = "FNOTE" , value = "备注")
    private String FNOTE;

    @TableField(value = "FDEPARTNO")
    @ApiModelProperty(name = "FDEPARTNO" , value = "部门编码")
    private String FDEPARTNO;

    @TableField(value = "FDEPARTNAME")
    @ApiModelProperty(name = "FDEPARTNAME" , value = "部门名称")
    private String FDEPARTNAME;

    @TableField(value = "STATUS")
    @ApiModelProperty(name = "STATUS" , value = "单据状态")
    private String STATUS;

    @TableField(value = "CLOSTSTATUS")
    @ApiModelProperty(name = "CLOSTSTATUS" , value = "关闭状态0正常，1关闭")
    private int CLOSTSTATUS;


}
